package com.yj.service;

import com.yj.entity.Details;
import com.yj.vo.JsonResult;

import org.springframework.web.bind.annotation.RequestParam;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qiniu.util.Json;

/**
 * <p>
 *  服务类
 * </p>
 *订单详情表
 * @author yj
 * @since 2020-08-24
 */
public interface IDetailsService extends IService<Details> {

	//订单详情的展示
	public JsonResult finAllDetail(int uid);
	
	//订单的增加传用户id在中间表里找到订单id
	public JsonResult addDetail(Details detail);
	
	//订单的删除
	
	public JsonResult delDetail(int xid);
	
	//页数
	public JsonResult pages();
		
	//每页数据
	public JsonResult page( int pageNum);
}
